﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:n="http://nRoute/schemas/2010/xaml"
    xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" x:Class="SimpleShell.Views.About"
    n:Page.Title="About"
    mc:Ignorable="d"
    d:DesignWidth="640" d:DesignHeight="480">
    
	<i:Interaction.Behaviors>
		<n:BridgeViewModelBehavior/>
	</i:Interaction.Behaviors>

    <ScrollViewer x:Name="LayoutRoot">
        <StackPanel Background="White">
            <TextBlock Text="About Page" />
            <TextBox x:Name="MessageText" Height="150" Margin="12,80,8,0" TextWrapping="Wrap" Text="{Binding Message}" AcceptsReturn="True" VerticalAlignment="Top"/>
            <Button Content="Show" HorizontalAlignment="Left" Height="35" VerticalAlignment="Top" Width="163">
    		    <i:Interaction.Triggers>
    			    <i:EventTrigger EventName="Click">
    				    <n:ExecuteCommandAction Command="{Binding ShowCommand}"/>
    			    </i:EventTrigger>
    		    </i:Interaction.Triggers>
    	    </Button>
    	    <Button Content="Dismiss" Height="35"  VerticalAlignment="Top" HorizontalAlignment="Left" Width="163">
    		    <i:Interaction.Triggers>
    			    <i:EventTrigger EventName="Click">
    				    <n:ExecuteCommandAction Command="{Binding HideCommand}"/>
    			    </i:EventTrigger>
    		    </i:Interaction.Triggers>
    	    </Button>
    	    <Button Content="Navigate" Height="35"   VerticalAlignment="Top" HorizontalAlignment="Left" Width="163">
    		    <i:Interaction.Triggers>
    			    <i:EventTrigger EventName="Click">
    				    <n:NavigateAction Url="Content/Pages/Home/"/>
    			    </i:EventTrigger>
    		    </i:Interaction.Triggers>
    	    </Button>
    	    <Button Content="GC" Height="35" VerticalAlignment="Top" HorizontalAlignment="Left" Width="74" Click="GC_Click">    		
    	    </Button>
        </StackPanel>
    </ScrollViewer>
</UserControl>
